package com.secsys.util;

import java.util.HashMap;
import java.util.Map;

import com.secsys.dto.SysUserDTO;

public class CachesUtil {
   
	private static Map<String, SysUserDTO>  userDtoCache=new HashMap<String, SysUserDTO>();   //缓存用户信息
	private static CachesUtil cachesUtil=null;
	public CachesUtil(){
		
	}
	public synchronized static CachesUtil getInstance(){
		  if(cachesUtil==null){
			   cachesUtil=new CachesUtil();
		  }else if(!(cachesUtil instanceof CachesUtil)){
			  cachesUtil=new CachesUtil();
		  }
		  return cachesUtil;
	}
}
